2023-06-12
I hope that you will be fairly comfortable with:
https://datavizs23.classes.andrewheiss.com/slides/15-slides.html#62
You will benefit greatly from doing things cleverly and establishing good habits from the start
I have prepared a handout containing the most frequently used shortcuts
Meme credit: https://bookdown.org/pdr_higgins/rmrwr/introduction-to-reproducibility.html#cleaning-and-analyzing-your-data
functions() and objects
.! Commas are used to separate things.() tied to it,%>% - the magrittr pipe (shift+ctrl+m)|> - the base pipehist(data, xlab = "Distribution of variable")?function in console)Single values
Multiple values (a vector)
Dataframes
%\>% som radbrytning, eller ggplot-kod (som hålls samman med +) så spelar det ingen roll var bland raderna markören är, hela blocket körs ändå